package com.kingtone.rongji.ui;

import android.content.Context;
import android.widget.Toast;

public class ToastManager {
	
	private static Toast mToast;

	public static void show(Context context, String message)
	{
		mToast = Toast.makeText(context, message,  Toast.LENGTH_SHORT);
		mToast.show();
	}
	
	public static void hide(Context context)
	{
		if(mToast != null)
		{
			mToast.cancel();
		}
	}
}
